home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / MSDOS / makeb4 < prev    next >
Text File  |  1979-12-31  |  2KB  |  104 lines

  1. # makefile
  2. #
  3. # This is part of the flight simulator 'fly8'.
  4. # Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5. #
  6.  
  7. #
  8. # machine specific makefile for msdos, Borland c4
  9. #
  10.  
  11. CDIR=    ..\..
  12. HH=    $(CDIR)\h
  13. RSP=    $(TMP)\libfly8.rsp
  14.  
  15. CFLAGS=    -I$(HH) -I.. $(XFLAGS) 
  16.  
  17. #    Non portable programs
  18. #
  19. COBJS=    mouse.obj stick.obj dosstick.obj console.obj timer.obj pcserial.obj \
  20.     packet.obj slip.obj pcdos.obj drivers.obj misc.obj \
  21.     grfast.obj s3.obj grbgi.obj grstat.obj plspeak.obj plsound.obj \
  22.     grvesa.obj vesa.obj vgr.obj pcudp.obj
  23.  
  24. AOBJS=    msubs.obj
  25.  
  26. OBJS=    $(COBJS) $(AOBJS)
  27.  
  28. HFILES=    ..\fly.h config.h
  29.  
  30. .PRECIOUS: msubs.obj
  31.  
  32.  
  33. all:    fly8sys.lib exe
  34.  
  35. exe:    gettimer.exe settimer.exe joytest.exe
  36.  
  37. fly8sys.lib:    $(OBJS)
  38.     if exist fly8sys.lib del fly8sys.lib
  39.     echo fly8sys &>$(RSP)
  40.     echo +mouse +stick +console +timer +pcserial +packet & >>$(RSP)
  41.     echo +msubs +dosstick +grstat & >>$(RSP)
  42.     echo +slip +pcdos +drivers +grfast +s3 +grbgi +misc & >>$(RSP)
  43.     echo +plspeak +plsound +grvesa +vesa +vgr +pcudp >>$(RSP)
  44.     tlib @$(RSP)
  45.     del $(RSP)
  46.  
  47. $(COBJS):    $(HFILES)
  48.  
  49. plsound.obj:    $(HFILES) ..\notes.h
  50.  
  51. plspeak.obj:    $(HFILES) ..\notes.h pc8254.h
  52.  
  53. grfast.obj:    $(HFILES) ..\colors.h $(HH)\gr.h
  54.  
  55. grvesa.obj:    $(HFILES) ..\colors.h vgr.h vesa.h
  56.  
  57. vesa.obj:    $(HFILES) vgr.h vesa.h
  58.  
  59. vgr.obj:    $(HFILES) vgr.h
  60.  
  61. grbgi.obj:    $(HFILES) ..\colors.h
  62.  
  63. pcserial.obj:    $(HH)\com.h
  64.  
  65. timer.obj:    pc8254.h
  66.  
  67. stick.obj:    stick.h
  68.  
  69. dosstick.obj:    stick.h
  70.  
  71. packet.obj:    $(HH)\pktdrvr.h
  72.  
  73. slip.obj:    $(HH)\pktdrvr.h
  74.  
  75. pcudp.obj:    $(HH)\pktdrvr.h
  76.  
  77. msubs.obj:    msubs.b3
  78.     copy msubs.b3 msubs.obj
  79.  
  80. #
  81. # Utility programs
  82. #
  83.  
  84. gettimer.exe:    gettimer.c
  85.     $(CC) -ml -G gettimer.c
  86.     lzexe gettimer.exe
  87.     del gettimer.old
  88.  
  89. settimer.exe:    settimer.c
  90.     $(CC) -ml -G settimer.c
  91.     lzexe settimer.exe
  92.     del settimer.old
  93.  
  94. joytest.exe:    joytest.c
  95.     $(CC) -ml -G joytest.c
  96.     lzexe joytest.exe
  97.     del joytest.old
  98.  
  99. clean:
  100.     -del *.exe
  101.     -del *.obj
  102.     -del *.lib
  103.     -del *.rsp
  104.